
<?$this->load->view('admin/tools/admin-header')?>
<?$this->load->view('admin/tools/admin-menu')?>
<?$this->load->view('admin/galleryadm/admin-gambarform')?>
<div class="wrap">
	<div id="icon-index" class="icon32"><br /></div><br>
<h3><a>Home ->Gallery -> Manage</a></h3>
<?if($pil=='gagal'){?>
<p><font size="4" color="#FF0000"><?=$error;?></font></p>
<?}?>
<?if(!(empty($mode))){echo"<div id='message' class='updated fade'><p>$pesan</p></div>";}?>
<div id="dashboard-widgets-wrap">
<div class="tablenav">
<div class="alignleft">
<table width="250" align="center" border="1">
		<tr style="background:">
			<td width="250" valign="middle" align="center">
			<font face="verdana" size="2" color="#FF0000">
			<div style="float:left">
				<center>Banyak Data : <b><?=$jumlah?></b></center>
				<center><a><?echo $this->pagination->create_links();?></a></center>
			</div></font>
			</td>
		</tr>
		</table>
</div>
</div>
<br>
<table width="700" border="1" style="float: auto;">
	<thead>
	<tr style="background:#9b9b9b;color:yellow;font-family:arial;height:25px;">
		<th scope="col" class="th-view check-column">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;</th>
		<th scope="col" class="th-view" width="20%">Cover</th>
		<th scope="col" class="th-view" width="20%">Nama Album</th>
		<th scope="col" class="th-view" width="50%">Deskripsi</th>
		<th scope="col" class="th-view" width="10%">Action</th>
	</tr>
	</thead>
	<tbody>
	
	<?foreach ($query as $row)
		{
			$id			= $row->id;
			$nama		= $row->nama_album;
			$deskripsi	= $row->deskripsi;
			$cover	 	= $row->cover;
		?>
	<tr style="background:#00FFFF" valign="center">
		<th scope="col" class="td-view check-column">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;</th>
		<td width="20%" class="td-view" align="center"><a href="<?=site_url('paneladm/galleryadm/view_album/'.$id)?>"><img src="<?=base_url()?>utility/pictures/album_cover/<?=$cover?>" width="128" height="128"></a></td>
		
		<td width="20%" class="td-view"><strong><?=$nama;?></strong></td>
		<td width="50%" class="td-view" align="left"><strong><?=$deskripsi;?></strong></td>	
		<td width="10%" class="td-view" align="center"><a href="<?=site_url('paneladm/galleryadm/edit_info_album/'.$id)?>" title="Edit Album"><img src="<?=base_url()?>css/icon/edit.png"></a>&nbsp;|&nbsp;<a href="<?=site_url('paneladm/galleryadm/delete_album/'.$id)?>" title="Delete Album & All Content"><img src="<?=base_url()?>css/icon/delete.png"></a></td>

		</tr>
	<?}?>
	</tbody>
</table>


</div>
</div><!-- wrap -->


<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
</div><!-- wpwrap -->

<!--admin-footer-->
<?$this->load->view('admin/tools/admin-footer');?>
<!--admin-footer-->
